#pragma once

#include "SceneNode.h"


class CScenePosRef: public CSceneNode
{
	private:
		CSceneNode*		_refObject;

	protected:

	public:
		CScenePosRef()
		{
			_refObject = NULL;
			this->_type = NODE_POSITION_REF;
			this->_entity = ENTITY_GHOST;
		}


		void SetRefObject(CSceneNode* ref) 
		{ 
			_refObject = ref; 
			_entity = ref->GetEntityType();
		}
		
		
		CSceneNode* GetRefObject() { return _refObject; }

		//scene node virtuals
		bool IsRenderable() { return false; }

};
